有没有一种 websocket 中间件,可以让服务端透穿地远程调用客户端的 HTTP API 。有点类似反向代理。
这样就不用在 websocket 组件里再写一套跟 HTTP API 相同的逻辑了。
这样就不用在 websocket 组件里再写一套跟 HTTP API 相同的逻辑了。
https://github.com/TecharoHQ/anubis/issues/206
> This would allow US IP addresses to require a higher proof of work due to compute tarrifs.
🤣🤣
> This would allow US IP addresses to require a higher proof of work due to compute tarrifs.
🤣🤣
GitHub
Implement GeoIP based checks · Issue #206 · TecharoHQ/anubis
This would allow US IP addresses to require a higher proof of work due to reciprocal compute tarrifs. EDIT(2025-04-05 14:20 UTC): I've seen this screenshotted out of context and I just want you...
Save The Web Project
喜报! 历经 5 个月的打磨,Zeno v2 的 PR 合并了。 https://github.com/internetarchive/Zeno/pull/166
这种巨型 PR 合并的时候非常爽啊!
我是在最后一个多月才给 v2 发 PR。因为那时候开发者跟我说 v2 框架稳定了,想让我在 v2 里重新实现 local queue (他们自己不用这个功能,主要是我在用,所以没有重新实现),然后我才开始读 v2 的实现。
这个大 PR 有 56 个子 PR,我贡献了其中的 10 个。😺
我是在最后一个多月才给 v2 发 PR。因为那时候开发者跟我说 v2 框架稳定了,想让我在 v2 里重新实现 local queue (他们自己不用这个功能,主要是我在用,所以没有重新实现),然后我才开始读 v2 的实现。
这个大 PR 有 56 个子 PR,我贡献了其中的 10 个。😺
❤1
https://github.com/bunnyxt/tdd-backend/pull/23
坏, https://tdd.bunnyxt.com/ 坏了一年,原因是——没看到我的 PR,坏。
但是B站分区已经木有了,坏。
坏, https://tdd.bunnyxt.com/ 坏了一年,原因是——没看到我的 PR,坏。
但是B站分区已经木有了,坏。
GitHub
fix: av2bv by yzqzss · Pull Request #23 · bunnyxt/tdd-backend
应该能用???
😢3
yzqzss|一座桥在给房东打工 log
TG 小功能:时光机 全局搜索栏中输入日期,可以全局搜索指定日期范围内的多个聊天会话中的消息。 *无法绕过群聊聊天记录 100 万回溯限制。
TG 小功能:长按太阳/月亮图标可一步打开 Chat Settings。
❤1👏1
https://github.com/restic/rest-server
火星,才发现 restic 的 rest-server 有 private repo 功能。
火星,才发现 restic 的 rest-server 有 private repo 功能。
To prevent your users from accessing each others' repositories, you may use the --private-repos flag which grants access only when a subdirectory with the same name as the user is specified in the repository URL. For example, user "foo" using the repository URLs rest:https://foo:pass@host:8000/foo or rest:https://foo:pass@host:8000/foo/ would be granted access, but the same user using repository URLs rest:https://foo:pass@host:8000/ or rest:https://foo:pass@host:8000/foobar/ would be denied access. Users can also create their own subrepositories, like /foo/bar/.
GitHub
GitHub - restic/rest-server: Rest Server is a high performance HTTP server that implements restic's REST backend API.
Rest Server is a high performance HTTP server that implements restic's REST backend API. - restic/rest-server
This media is not supported in your browser
VIEW IN TELEGRAM
新栏目,尽量每天发点 #今天看了啥 ,以使频道名副其实——是 Note。
http encoding:
https://httptoolkit.com/blog/http-encodings/ (blog, en)
> 离谱,竟然会有服务端的 content-encoding 返回 amz-1.0, json, utf-8, text, binary 之类的内容。
html encoding:
https://encoding.spec.whatwg.org (spec, en)
→ https://html.spec.whatwg.org/multipage/parsing.html#determining-the-character-encoding (spec, en)
→ https://html.spec.whatwg.org/multipage/semantics.html#attr-meta-charset (spec, en)
https://en.wikipedia.org/wiki/Windows-1252 (wiki, en)
> websites declared ISO 8859-1 which is treated as Windows-1252 by all modern browsers (as required by the HTML5 standard)
→ https://w3techs.com/technologies/overview/character_encoding (各 html 编码的使用率,也有分语言的统计)
https://www.xiaogd.net/md/web-page-encoding-and-mojibake-1 (blog, zh)
repo:
https://github.com/edsrzf/mmap-go
https://github.com/long2ice/meilisync
有意思的代码:
https://cs.opensource.google/go/go/+/refs/tags/go1.24.2:src/unicode/utf8/utf8.go;drc=3d33437c450aa74014ea1d41cd986b6ee6266984;l=444
http encoding:
https://httptoolkit.com/blog/http-encodings/ (blog, en)
> 离谱,竟然会有服务端的 content-encoding 返回 amz-1.0, json, utf-8, text, binary 之类的内容。
html encoding:
https://encoding.spec.whatwg.org (spec, en)
→ https://html.spec.whatwg.org/multipage/parsing.html#determining-the-character-encoding (spec, en)
→ https://html.spec.whatwg.org/multipage/semantics.html#attr-meta-charset (spec, en)
https://en.wikipedia.org/wiki/Windows-1252 (wiki, en)
> websites declared ISO 8859-1 which is treated as Windows-1252 by all modern browsers (as required by the HTML5 standard)
→ https://w3techs.com/technologies/overview/character_encoding (各 html 编码的使用率,也有分语言的统计)
https://www.xiaogd.net/md/web-page-encoding-and-mojibake-1 (blog, zh)
repo:
https://github.com/edsrzf/mmap-go
https://github.com/long2ice/meilisync
有意思的代码:
https://cs.opensource.google/go/go/+/refs/tags/go1.24.2:src/unicode/utf8/utf8.go;drc=3d33437c450aa74014ea1d41cd986b6ee6266984;l=444
Httptoolkit
Encoding your HTTP for fun and profit
HTTP content encoding is an incredibly powerful tool that can save you huge amounts of bandwidth and make your web or mobile application faster, basically for...
买全新服务器,预算2w~4w,走报销。要求国内品牌。
懂行的可以推荐些型号吗?
要是我自己买肯定就是捡垃圾了,但是是学校买,说二手不好走账,非得国产+全新。
看了眼,全新的价格都很坑爹。
用于虚拟化开小鸡。
懂行的可以推荐些型号吗?
要是我自己买肯定就是捡垃圾了,但是是学校买,说二手不好走账,非得国产+全新。
看了眼,全新的价格都很坑爹。
用于虚拟化开小鸡。
🤩2
yzqzss|一座桥在给房东打工 log
买全新服务器,预算2w~4w,走报销。要求国内品牌。 懂行的可以推荐些型号吗? 要是我自己买肯定就是捡垃圾了,但是是学校买,说二手不好走账,非得国产+全新。 看了眼,全新的价格都很坑爹。 用于虚拟化开小鸡。
离谱的是,明明机房里有台只插了一根内存条的 r730 吃灰,只要再花不到1k块钱买一吨内存条+还掉两个cpu就能满血复活。但是说不好走账报销。